<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="com.asaga.tools.*, java.util.*, java.io.*, java.net.*"%>
<jsp:useBean id="userProfile" scope="session" class="com.asaga.tools.SystemClient_DBImpl" />
<!-- Author:  Jeremy Sanderlin 
     Date Created: 2006-03-25
     Last Modified: 2006-03-25
     Last Modified By: Jeremy Sanderlin
-->
<% 
    int groupId = Integer.parseInt((String)request.getParameter("groupId"));
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <%@ include file="header.jsp" %>
    <div id="container">
        <%@ include file="topNav.jsp" %>
        <%@ include file="leftside.jsp" %>
        <%@ include file="rightside.jsp" %>
        <div id="content">
            <table border="1">
                <tr>
                    <td><a href="AutismSiteMasterController?action=portal">Home</a></td>
                    <td><a href="AutismSiteMasterController?action=group&groupAction=list">List All Groups </a></td>
                </tr>
            </table>
            <br />
            <hr />
            <br />
            <h1>Create New Message</h1>
            
            <form action="AutismSiteMasterController" method="post">
                <input type="hidden" name="action" value="group" />
                <input type="hidden" name="groupAction" value="postMessage" />
                <input type="hidden" name="groupId" value=<%=groupId%> />
                <label>Message Subject</label><input type="text" id="groupMessageSubject" name="groupMessageSubject" />
                <br />
                <hr />
                <label>Message Body</label>
                <textarea id="groupMessageBody" name="groupMessageBody" rows="10" cols="50"></textarea>
                <br />
                <hr />
                <input type="submit" value="submit" />
                <input type="reset" />   
            </form>
        </div>
        <%@ include file="footer.jsp" %>
    </div>
    </body>
</html>
